@layout("/common/_form.html",{js:["/assets/contractSetting/contractSetting_edit.js"]}){

<form class="layui-form" id="contractSettingForm" lay-filter="contractSettingForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">初始价格<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="price" name="price" placeholder="请输入价格" type="number" class="layui-input" lay-verify="required|number|operationCount" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">结束价格<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="price1" name="price1" placeholder="请输入价格" type="number" class="layui-input" lay-verify="required|number|operationCount" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">合约属性<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="contractType" lay-filter="contractType">
                                <option value=""></option>
                                <option value="0" selected="">新手合约</option>
                                <option value="1">初级合约</option>
                                <option value="2">中级合约</option>
                                <option value="3">高级合约</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">收益<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="earnings" name="earnings" placeholder="请输入收益" type="number" class="layui-input" lay-verify="required|number|operationCount" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">建仓时间（小时）<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="buyingTime" name="buyingTime" placeholder="请输入建仓时间" type="text" class="layui-input" lay-verify="required|number|operationCount" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">VIP建仓时间（小时）<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="buyingVipTime" name="buyingVipTime" placeholder="请输入VIP建仓时间" type="number" class="layui-input" lay-verify="required|number|operationCount" required/>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>
@}